#ifndef _TIMER_H
#define _TIMER_H

typedef enum {
    TIMER_ONESHOT,
    TIMER_PERIODIC,
} timer_type_t;

void timer_init();

int timer_create(unsigned ticks_ms, timer_type_t type, void (*callback)(void*), void* arg);

#endif /* _TIMER_H */